﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    /// <summary>
    /// A container for all citizenships and residencies 
    /// (Permanent/temporary) of a person.
    /// </summary>
    public class CountriesOfResidence : List<CountryOfResidence>, IExtendedAttributes
    {
        public CountriesOfResidence()
        {
        }

        public CountriesOfResidence(int capacity)
            : base(capacity)
        {
        }

        public CountriesOfResidence(IEnumerable<CountryOfResidence> collection)
            : base(collection)
        {
        }

        public virtual NameValueCollection ExtendedAttributes { get; set; }
    }
}
